#include "SpriteObject.h"

SpriteObject::SpriteObject(void)
{
}

SpriteObject::~SpriteObject(void)
{
}

SpriteObject * SpriteObject::node()
{
	SpriteObject *pObj=new SpriteObject;
	if (pObj)
	{
		pObj->autorelease();
		if (pObj->init())
		{
			return pObj;
		}
	}
	return NULL;
}

bool SpriteObject::init()
{
	if (!CCSprite::init())
	{
		return false;
	}
	return true;
}